<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<table border="1">
	<thead>
	<tr>
		<th>学号</th>
		<th>姓名</th>
		<th>成绩</th>
	</tr>
	</thead>
	<tbody>
	<c:forEach items="${grades}" var="g">
		<tr>
			<td>${g.student.stuNo}</td>
			<td>${g.student.name}</td>
			<td><input type="text" value="${g.grade}" onchange="xg(${g.id},this.value)"></td>
		</tr>
	</c:forEach>
	</tbody>
</table>